package com.flyme.module.base.client.api;


import com.flyme.common.core.model.ResultBody;
import com.flyme.common.core.model.query.PagerInfo;
import com.flyme.module.base.client.entity.SysMessage;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author zyf
 */
public interface SysMessageSendRemoteService {
    
    /**
     * 已发送消息列表
     *
     * @param pagerInfo
     * @return
     */
    @PostMapping("/messagesend/list")
    ResultBody list(@ModelAttribute PagerInfo pagerInfo, @ModelAttribute SysMessage message);
    
    @PostMapping(value = "/delByIds/{ids}")
    ResultBody delByIds(@PathVariable Long[] ids);
    
}
